package com.lovi.category.service;

import com.lovi.param.PageParam;
import com.lovi.param.ProductHotParam;
import com.lovi.pojo.Category;
import com.lovi.utils.R;

public interface CategoryService {
    R list();

    R byName(String categoryName);

    R hotsCategory(ProductHotParam productHotParam);

    R listPage(PageParam pageParam);

    R save(Category category);

    R remove(Integer categoryId);

    R update(Category category);
}
